<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<s:iterator value="courselist">
<form action="updatecoursedetails.action?course_id=<s:property value="course_id"/>&value=updatecourse" method="post" enctype="multipart/form-data" >

<table>
		<tr><td><s:textfield name="course_id" value="%{course_id}" disabled="true" label="course_id"/></td></tr>
		<tr><td><s:textfield name="course_name" value="%{course_name}" disabled="false"/></td></tr>
		<tr><td><s:textfield name="duration" value="%{duration}" /></td></tr>
		<tr><td><s:textfield name="credit" value="%{credit}" /></td></tr>
		<tr><td><s:textfield name="lab" value="%{lab}" /></td></tr>
		<tr><td><s:textfield name="theory" value="%{theory}" /></td></tr>
		<tr><td><s:textfield name="start_year" value="%{start_year}" /></td></tr>
		<tr><td><s:textfield name="department_id" value="%{department_id}" disabled="true"/></td></tr>
		<tr><td><s:textfield name="course_code" value="%{course_code}" /></td></tr>
		<tr><td><s:textfield name="status" value="%{status}" /></td></tr>

	<tr><td></td></tr>
	<tr><td><s:submit id="update" label="Submit"/></td></tr>
	
</table>
</form>
</s:iterator>
</body>
</html>